package com.aat.dxfy.dxyStart.book.demo01;

public class Person {
	private String name;
	private Integer age;
	private Integer high;
	private Double weight;
	private String job;
	private char sex;

	public Person() {

	}

	public Person(String name, char sex) {
		this.name = name;
		this.sex = sex;
	}

	public void say() {
		System.out.println("大家好,我的名字叫:" + name + ",今年" + age + "岁。");
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Integer getHigh() {
		return high;
	}

	public void setHigh(Integer high) {
		this.high = high;
	}

	public Double getWeight() {
		return weight;
	}

	public void setWeight(Double weight) {
		this.weight = weight;
	}

	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public char getSex() {
		return sex;
	}

	public void setSex(char sex) {
		this.sex = sex;
	}

}
